import Vue from 'vue'
import App from './App.vue'
import router from './router'
import Vant from 'vant'
import 'vant/lib/index.css'
import JmNav from '@/components/JmNav'
import { requests } from '@/utils/request'

Vue.use(Vant)

Vue.prototype.requests = requests

// 全局注册组件
Vue.component('JmNav', JmNav)

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
